/*
 * Canvas.h
 *
 *  Created on: 2021年9月8日
 *      Author: vicent-PC
 */

#ifndef MAIN_ROSE_CANVAS_H_
#define MAIN_ROSE_CANVAS_H_
#include <stdint.h>
enum TextImageFormat{
	SD1306,
};

class Canvas {
public:
	Canvas();
	virtual ~Canvas();
	void drawText(const uint16_t* text, int start, int count, int contextCount, float x, float y, int fmt);
	// virtual void drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) = 0;
	// virtual void drawPoint(float x, float y, const SkPaint& paint) = 0;

private:
	void* fTarget = nullptr;
};

#endif /* MAIN_ROSE_CANVAS_H_ */
